﻿using System;
using System.Collections.Generic;
using System.Text;

namespace INSAForManagers.Models
{
    class AdditionItem
    {
        //가산점 유형
        private EAddType type;

        internal EAddType Type
        {
            get { return type; }
            set { type = value; }
        }

        //가산점 그룹
        private string groupCode;

        public string GroupCode
        {
            get { return groupCode; }
            set { groupCode = value; }
        }

        //가산점 코드
        private string itemCode;

        public string ItemCode
        {
            get { return itemCode; }
            set { itemCode = value; }
        }

        //가산점 항목명
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        //수여기관(자)
        private string donator;

        public string Donator
        {
            get { return donator; }
            set { donator = value; }
        }       

        //월평정점
        private double monthlyPoint;

        public double MonthlyPoint
        {
            get { return monthlyPoint; }
            set { monthlyPoint = value; }
        }

        //일평정점
        private double dailyPoint;

        public double DailyPoint
        {
            get { return dailyPoint; }
            set { dailyPoint = value; }
        }

        //연수시간
        private int trainningTime;

        public int TrainningTime
        {
            get { return trainningTime; }
            set { trainningTime = value; }
        }

        //학점당평정점
        private double pointPerTime;

        public double PointPerTime
        {
            get { return pointPerTime; }
            set { pointPerTime = value; }
        }

        //연상한점
        private double maxPerYear;

        public double MaxPerYear
        {
            get { return maxPerYear; }
            set { maxPerYear = value; }
        }

        //상한점
        private double maxPoint;

        public double MaxPoint
        {
            get { return maxPoint; }
            set { maxPoint = value; }
        }

        //적용시작일자
        private DateTime applyStartDate;

        public DateTime ApplyStartDate
        {
            get { return applyStartDate; }
            set { applyStartDate = value; }
        }

        //적용종료일자
        private DateTime applyEndDate;

        public DateTime ApplyEndDate
        {
            get { return applyEndDate; }
            set { applyEndDate = value; }
        }

        public override string ToString()
        {
            return Name;
        }
    }
}
